{include file="inc/header.html"} 
<div id="bdw" class="bdw">
	<div id="bd" class="cf">
		<div id="deal-default">
			
			<div id="content">		
	
			<div class="box" id="g_recent">				
				<div class="box">
					<div class="box-top"></div>
					<div class="box-content">
						<div class="head">
							<h2>{$page_title}</h2>
						</div>
						<div class="sect">
								<strong style="text-align:center;">{$vote.name}</strong>
								<div class="blank"></div>
								{$vote.description}
								<div class="blank"></div>
								<form action="{function name="url_pack" value="vote#dovote"}" method="post">
								<ol class="vote-list">
									{foreach from=$vote_ask item=ask}
									<li>
										<h4>{$ask.name}</h4>
										<div class="choices">
											{foreach from=$ask.val_scope item=val}
											{if $val neq ''}
											<label><input type="{if $ask.type neq 2 and $ask.type neq 5}radio{/if}{if $ask.type neq 1 and $ask.type neq 4}checkbox{/if}" name="name[{$ask.id}][]" value="{$val}" class="choice" /> {$val} </label>
											{/if}
											{/foreach}
											{if $ask.type eq 3 or $ask.type eq 4 or $ask.type eq 5}
											{$LANG.OTHER_VOTE}: <input type="text" name="name[{$ask.id}][]" class="f-text" />
											{/if}
										</label>
										</div>
										<div class="blank"></div>
									</li>		
									{/foreach}						
								</ol>
								<div class="blank"></div>
								<div class="commit">
									<input type="hidden" value="{$vote.id}" name="vote_id">
									<input type="submit" value="{$LANG.OK_AND_SUBMIT}" name="submit" class="formbutton">
								</div>
							</form>
												
						</div>
					</div>
					<div class="box-bottom"></div>
				</div>
			</div></div>
			{include file="inc/side.html"} 
	</div>
	<!-- bd end -->
</div>

{include file="inc/footer.html"}